<?php
/* @var $this JamaahController */
/* @var $model Jamaah */
/* @var $form CActiveForm */
?>

<div class="wide form">

    <?php
    $form = $this->beginWidget('CActiveForm',
            array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
    ));
    ?>

    <table border="0" cellpadding="0" cellspacing="0" id="id-form">


        <tr>
            <th valign="top" class="fontcolorbiru0b5fa5 font12 fontfamcalibry" align="left"><?php echo $form->labelEx($model,
            'nama');
    ?></th>
            <td class="idform">
                <?php echo $form->textField($model,
                        'nama', array('size' => 60, 'maxlength' => 255));
                ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('nama')) echo "<div class='error-left'></div>"; ?>
<?php echo $form->error($model,
        'nama', array('class' => 'error-inner'));
?>
            </td>
        </tr>


        <tr>
            <th valign="top" class="fontcolorbiru0b5fa5 font12 fontfamcalibry" align="left"><?php echo $form->labelEx($model,
        'Kabupaten');
?></th>
            <td class="idform">
                <?php
                echo $form->dropDownList($model, 'nama_kabupaten', $list_parent,
                        array(
                    'empty' => '(Pilih Kabupaten)',
                    'style' => 'width:200px'));

//echo $form->textField($model,'nama_kabupaten',array('size'=>60,'maxlength'=>255));
                ?>
            </td>
            <td class="idform">
<?php if ($model->hasErrors('nama_kabupaten')) echo "<div class='error-left'></div>"; ?>
<?php echo $form->error($model,
        'nama_kabupaten', array('class' => 'error-inner'));
?>
            </td>
        </tr>


        <tr>
            <th valign="top" class="fontcolorbiru0b5fa5 font12 fontfamcalibry" align="left"><?php echo $form->labelEx($model,
        'Kelompok');
?></th>
            <td class="idform">
                <?php echo $form->textField($model,
                        'nama_kelompok', array('size' => 60, 'maxlength' => 255));
                ?>
            </td>
            <td class="idform">
<?php if ($model->hasErrors('nama_kelompok')) echo "<div class='error-left'></div>"; ?>
<?php echo $form->error($model,
        'nama_kelompok', array('class' => 'error-inner'));
?>
            </td>
        </tr>


        <tr>
            <th>&nbsp;</th>
            <td valign="top">
    <?php echo CHtml::submitButton('Search'); ?>
            </td>
            <td class="idform"></td>
        </tr>
    </table>


    <!--	<div class="row">
<? //php echo $form->label($model,'id_laskar');   ?>
    <? //php echo $form->textField($model,'id_laskar');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'nama');   ?>
    <? //php echo $form->textField($model,'nama',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'alamat_ktp');   ?>
    <? //php echo $form->textField($model,'alamat_ktp',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'no_ktp');   ?>
    <? //php echo $form->textField($model,'no_ktp',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'tempat_lahir');   ?>
    <? //php echo $form->textField($model,'tempat_lahir',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'tgl_lahir');   ?>
    <? //php echo $form->textField($model,'tgl_lahir');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'pekerjaan');   ?>
    <? //php echo $form->textField($model,'pekerjaan',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'pekerjaan_lain');   ?>
    <? //php echo $form->textField($model,'pekerjaan_lain',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'hp1');   ?>
    <? //php echo $form->textField($model,'hp1',array('size'=>20,'maxlength'=>20));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'hp2');   ?>
    <? //php echo $form->textField($model,'hp2',array('size'=>20,'maxlength'=>20));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'tlp_rumah');   ?>
    <? //php echo $form->textField($model,'tlp_rumah',array('size'=>20,'maxlength'=>20));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'pin_bb');   ?>
    <? //php echo $form->textField($model,'pin_bb',array('size'=>20,'maxlength'=>20));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'email');   ?>
    <? //php echo $form->textField($model,'email',array('size'=>50,'maxlength'=>50));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'alamat_domisili');   ?>
    <? //php echo $form->textField($model,'alamat_domisili',array('size'=>60,'maxlength'=>255));   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'sadziliyah');   ?>
    <? //php echo $form->textField($model,'sadziliyah');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'qodiriyah');   ?>
    <? //php echo $form->textField($model,'qodiriyah');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'lama_suluk');   ?>
    <? //php echo $form->textField($model,'lama_suluk');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'id_kelompok');   ?>
    <? //php echo $form->textField($model,'id_kelompok');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'status');   ?>
    <? //php echo $form->textField($model,'status');   ?>
        </div>

        <div class="row">
<? //php echo $form->label($model,'sa78');   ?>
    <? //php echo $form->textField($model,'sa78');  ?>
        </div>

        <div class="row">
    <? //php echo $form->label($model,'laqodja');  ?>
<? //php echo $form->textField($model,'laqodja');   ?>
        </div>

        <div class="row buttons">
<? //php echo CHtml::submitButton('Search');   ?>
        </div>-->

<?php $this->endWidget(); ?>

</div><!-- search-form -->